<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>登录页面</title>

    <link rel="stylesheet" href="/static/bootstrap-3.3.7-dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="/static/signin.css">
    <script src="/static/jquery-3.4.1.min.js"></script>
    <script>
        function leadToAuthorize() {
            window.location.href = "http://127.0.0.1:8081/oauth/authorize?client_id=barClientIdPassword&response_type=code&redirect_uri=http://127.0.0.1:8084/login/my";
        }
    </script>


</head>

<body>
<div class="container form-margin-top">
    <div class="container form-margin-top">
        <form class="form-signin" action="/login" method="post">
            <h2 class="form-signin-heading" align="center">登录平台</h2>
            <input type="text" name="username" class="form-control form-margin-top" placeholder="账号" required autofocus>
            <input type="password" name="password" class="form-control" placeholder="密码" required>
            <input type="checkbox" name="remember-me">自动登录
            <button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>

        </form>
        <div class="form-signin">
            <button class="btn btn-lg btn-primary btn-block" onclick="leadToAuthorize()">QQ登录</button>

        </div>
    </div>
</div>
</body>
</html>
